const Mock = require("mockjs");
const Random = Mock.Random;
Mock.setup({
    timeout: '600'
})
const aaa = function () {
    return {
        "userList|6": [{ //生成6个
            "price": '@integer(100,900)', //随机价格
            'title': '@ctitle(12)', //随机12位随机文字
            'imgSrc': ''
        }]
    }
}
Mock.mock('/api/card/list', aaa)